home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / Prog / H-K / How to use z⁄y⁄z Modem w⁄RR < prev    next >
Encoding:
Text File  |  1989-09-26  |  3.0 KB  |  106 lines  |  [TEXT/MACA]

  1. How to compile and use x,y,zmodem for UNIX.
  2.  
  3. 1)The file is in "compressed" format.  To decompress it:
  4. $ compress -u rzsz.tar.Z   
  5. <or>
  6. $ uncompress rzsz.tar.Z     <depending on system>
  7.  
  8. If you don't have compress, get the compress source code
  9. file #1397 in the FreeSoft RT.
  10.  
  11. To compile it:
  12. $ cc compress.c -o compress
  13.  
  14. Move "compress" to /usr/bin
  15. $ mv compress /usr/bin
  16.  
  17. ---------------------------------------------------------
  18.  
  19. 2) The file is in "tar" format also.  To untar it:
  20. $ mkdir zmodem
  21. $ mv rzsz.tar zmodem
  22. $ cd zmodem
  23. $ tar xf rzsz.tar
  24.  
  25. ---------------------------------------------------------
  26.  
  27. 3) Now compile the code for your machine:
  28. $ make sysv    <for System V>
  29. <or>
  30. $ make bsd       <for Berkley>
  31. <or>
  32. $ make xenix    <for Xenix>
  33.  
  34. Edit "makefile" to see other machines.
  35.  
  36. ---------------------------------------------------------
  37.  
  38. 4) The following commands will be generated:
  39. rz    - receive zmodem
  40. sz     - send zmodem
  41. rb     - receive binary (ymodem)
  42. sb    - send binary (ymodem)
  43. rx    - receive xmodem 
  44. sx    - send xmodem
  45.  
  46. Move these into /usr/bin:
  47. $ mv [rs][bzx] /usr/bin
  48.  
  49. ---------------------------------------------------------
  50. ---------------------------------------------------------
  51.  
  52.  
  53. How to use with Red Ryder:
  54. (Note: Red Ryder 10.3 does not support ZMODEM)
  55.  
  56. To send a file using x,y, or zmodem from UNIX to Mac:
  57. $ sz filename
  58. <or>
  59. $ sb filename
  60. <or>
  61. $ sx filename
  62.  
  63. Start your X,Y, or ZMODEM file receive in Red Ryder.
  64.  
  65. ---------------------------------------------------------
  66.  
  67. To receive a file using x,y,or zmodem to UNIX from Mac:
  68. $ rz
  69. <or>
  70. $ rb filename
  71. <or>
  72. $ rx filename
  73.  
  74. Start your X,Y, or ZMODEM send in Red Ryder.
  75. Notice "rz" doesn't need a filename.  This is because it will automatically
  76. use the orginal filename used on the Mac.  UNIX excepts spaces in filenames
  77. like the Mac if you surround the filename in quotes (").
  78.  
  79. EX:  To list a file called 'test file from mac':
  80. $ ls -l "test file from mac"
  81.  
  82. ---------------------------------------------------------
  83.  
  84. To send a batch of files from UNIX to Red Ryder:
  85. (using y or zmodem)
  86.  
  87. $ sb filename1 filename2 filename3       <for ymodem>
  88. $ sz filename1 filename2 filename3       <for zmodem>
  89.  
  90. Start your Y or ZMODEM receive in Red Ryder.
  91.  
  92. ---------------------------------------------------------
  93.  
  94. To send a batch of files to UNIX from Red Ryder:
  95.  Create your batch of files in RR (under the File menu).
  96. $ rz      <for zmodem>
  97. $ rb      <for ymodem>
  98.  
  99. Send the batch file in Y or ZMODEM in Red Ryder.
  100.  
  101. ---------------------------------------------------------
  102. If you need additional help, contact:
  103. Bob Daniel
  104. GEnie: B.DANIEL
  105.